package com.yuexia.sell.dataOjbect;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author itmrchen
 * @date 2018/7/11 0011 下午 1:15
 * @desc ctrate by YUE XIA
 */
@Entity
@Data
@DynamicUpdate
public class OrderMaster {
    @Id
    private String orderId;
    private String buyerName;
    private String buyerPhone;
    private String buyerAddress;
    private String buyerOpenid;
    private BigDecimal orderAmount;
    //订单状态 0 为新订单
    private Integer orderStatus = 0;
    //支付状态 0 为未支付
    private Integer payStatus = 0;
    private Date createTime ;
    private Date updateTime ;


}
